Fix Tramp problem with loooongish file names
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 4 Apr 2025 12:29:00 +0000 (14:29 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 4 Apr 2025 12:29:00 +0000 (14:29 +0200)
commit99d70ce6c265744b21e1ffe6c034ded833917139
tree38663c04a0b829a5d72e21be4ed481a585c0074b
parent9869aa1a1003fbd4b3c7d51f9cdd7e77bd68d985
Fix Tramp problem with loooongish file names

* lisp/net/tramp-sh.el (tramp-readlink-file-truename): New defconst.
(tramp-bundle-read-file-names): Use new %m and %q format specifiers.
(tramp-sh-handle-file-truename): Use `tramp-readlink-file-truename'.
(tramp-bundle-read-file-names, tramp-get-remote-readlink): Simplify.
(tramp-expand-script): Add format specifiers %m and %q for test
commands.  Addapt readlink call.
Reported by Stacey Marshall <stacey.marshall@gmail.com>.
lisp/net/tramp-sh.el